<!doctype html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link href="css/mui.css" rel="stylesheet" />
	</head>

	<body>
		<div class="mui-content">
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="image/friends.png" style="max-width: 24px;max-height: 24px;">
						<p class="mui-ellipsis" style="line-height: 24px;color: #000000; font-size: 16px;">
							<span style="margin-left: 10px;">朋友圈</span>
						</p>
					</a>
				</li>
			</ul>
			
			<br />
			
			<ul class="mui-table-view">
				<li class="mui-table-view-cell mui-media">
					<a id="link_add_friends" href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="image/addfriends.png" style="max-width: 24px;max-height: 24px;">
						<p class="mui-ellipsis" style="line-height: 24px;color: #000000; font-size: 16px;">
							<span style="margin-left: 10px;">添加好友</span>
						</p>
					</a>
				</li>
				<li class="mui-table-view-cell mui-media">
					<a href="javascript:;">
						<img class="mui-media-object mui-pull-left" src="image/scanscan.png" style="max-width: 24px;max-height: 24px;">
						<p id="link_sanner" class="mui-ellipsis" style="line-height: 24px;color: #000000; font-size: 16px;">
							<span style="margin-left: 10px;">扫一扫</span>
						</p>
					</a>
				</li>
			</ul>
		</div>
		
		
		<script src="js/mui.js"></script>
		<script type="text/javascript">
			mui.init();
			
			mui.plusReady(function () {
			    var link_add_friends = document.getElementById("link_add_friends");
				link_add_friends.addEventListener("tap",function(){
					mui.openWindow("searchFriends.html","searchFriends.html")
				})
				
				var link_sanner = document.getElementById("link_sanner");
				link_sanner.addEventListener("tap",function(){
					mui.openWindow("scanner.html","scanner.html")
				})
			})
		</script>
	</body>

</html>
